import React, { Component } from 'react'
import "./less/GoBack.less"
import { withRouter } from 'react-router-dom'

class GoBack extends Component {
    render() {
        return (
            <div className="goback" onClick={()=>this.props.history.goBack()}>返回上一页</div>
        )
    }
}

export default withRouter(GoBack)
